<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Spring Boot Web 应用</title>
    <link rel="stylesheet" href="/css/style.css">
</head>
<body>
    <div class="container">
        <header>
            <img src="/images/logo.png" alt="Logo" class="logo">
            <h1>Rukbat Service Sample: [Spring Boot] WebApp</h1>
        </header>
        
        <main>
            <div class="card">
                <h2>功能演示</h2>
                <ul>
                    <li><a href="/welcome">Thymeleaf 模板页面</a></li>
                    <li><a href="/api/hello">REST API 接口</a></li>
                    <li><a href="/css/style.css">静态 CSS 文件</a></li>
                    <li><a href="/js/app.js">静态 JS 文件</a></li>
                </ul>
            </div>
            
            <div class="card">
                <h2>动态内容</h2>
                <p id="dynamic-content">加载中...</p>
                <button onclick="loadData()">加载数据</button>
            </div>
        </main>
    </div>
    
    <script src="/js/app.js"></script>
</body>
</html>

